package com.concurrent.sample.business.repo;

import com.concurrent.sample.business.entity.OrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface OrderRepo extends JpaRepository<OrderEntity, Long>, JpaSpecificationExecutor<OrderEntity> {

  OrderEntity findByEventId(Long eventId);

}
